<form id="edit-form" class="form-horizontal col-sm-12" role="form" data-toggle="validator" method="POST" action="">
    <input type="hidden" name="row[staff_id]" value="{$staff_id}">
    <div class="col-xs-12 col-sm-12">
        <div class="form-group col-sm-10">
            <label >权限:</label>
            <div class="radio">
                <label for="row[rules]-1">
                    <input id="row[rules]-1" {eq name="$is_edit" value="0"} checked="checked"{/eq} class="relation_type"
                           name="row[rules]" type="radio" value="0"> 只读
                </label>
                <label for="row[rules]-2">
                    <input id="row[rules]-2" name="row[rules]" {eq name="$is_edit" value="1"} checked="checked"{/eq}  class="relation_type" type="radio" value="1"> 读写
                </label>
            </div>
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
